import React from "react";
import MyComponent from "./myComponent";

type Iprops = {
    name: string
    age: number
}

const App = () => {
    return (
        <>
            <MyComponent<Iprops> name="react" age={18} />
        </>
    )
}

export default App